From: Florian Müllner Date: Sat, 29 Jun 2019 13:04:13 +0000 (+0200) Subject: popupMenu: Use consistent registerClass() style X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~845^2^2~105 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3c382c4bbe403545d461d013b5f35a2482d1ddd5;p=gnome-shell.git popupMenu: Use consistent registerClass() style We don't add a line break between parameters and class elsewhere, so be consistent with that. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606 --- diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 345934a5f..b3762d870 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -315,8 +315,7 @@ class Switch extends St.Bin { var PopupSwitchMenuItem = GObject.registerClass({ Signals: { 'toggled': { param_types: [GObject.TYPE_BOOLEAN] }, }, -}, -class PopupSwitchMenuItem extends PopupBaseMenuItem { +}, class PopupSwitchMenuItem extends PopupBaseMenuItem { _init(text, active, params) { super._init(params);